package com.hbnu.jiani.dao;

import com.hbnu.jiani.entity.Package;

import java.util.List;


public interface PackageDao {
    boolean addPackage(Package pkg);
    boolean deletePackageById(int id);
    boolean updatePackage(Package pkg);
    List<Package> findAll();
    Package findById(int id);
    List<Package> findByRecipient(String recipient);
    boolean existsById(int id);
    boolean existsByPickupCode(String pickupCode);
}
